package 多线程练习.线程组;

public class TestGroup {

      public static void main(String[] args) {
            ThreadGroup group = Thread.currentThread().getThreadGroup();
            ThreadGroup parent = group.getParent();
            System.out.println(group);
            System.out.println(parent);

      }
}
